<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title; ?></title>
<style type="text/css">
#container{
	width:800px;
	margin:30px auto;
}
#title{
	width:700px;
	margin:0px auto;
	border-bottom:1px solid #CCC;
}
#title h1{
	text-transform:uppercase;
	text-align:center;
	font-size:25px;
}
#title a{
	color:#060;
}
#title a:hover{
	color:#F00
}
</style>
</head>

<body>
<div id="container">
	<div id="title">
    	<h1><?php if(isset($status)) {echo $status; }?></h1>
        <p><a href="<?php echo base_url(); ?>">Về trang chủ</a></p>
    </div>
    <div id="content" style="padding-top:20px">
    	<table width="609" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td width="247" height="35">Name</td>
            <td width="362" height="35">Value</td>
          </tr>
          <tr>
            <td height="25">Cổng thanh toán</td>
            <td height="25">ONEPAY</td>
          </tr>
          <tr>
            <td height="25">ID giao dịch</td>
            <td height="25"><?php if(isset($value)) { echo $value['trans_id']; }?></td>
          </tr>
          <tr>
            <td height="25">Mã đơn hàng</td>
            <td height="25"><?php if(isset($value)) { echo $value['trans_info']; }?></td>
          </tr>
          <tr>
            <td height="25">Số tiền thanh toán</td>
            <td height="25"><?php if(isset($value)) { echo number_format($value['trans_price']/100); } ?></td>
          </tr>
          <tr>
            <td height="25">Trạng thái</td>
            <td height="25"><?php if(isset($pay_status)) {echo $pay_status; }?></td>
          </tr>
          <tr>
            <td height="25">Tin nhắn</td>
            <td height="25"><?php //if(isset($value)) {echo $value['trans_mes']; }?></td>
          </tr>
        </table>

    </div>
</div>
</body>
</html>